package cn.zhukelili.generic;

/**
 * @description:
 * @author: hhbeast
 * @since: 2018/7/29 14:36
 */
public class Client {
    public static void main(String[] args) {
        AbstractClass class1 = new ConcreteClass1();
        AbstractClass class2 = new ConcreteClass2();
        //调用模板方法
        class1.templateMethod();
        class2.templateMethod();
    }
}
